export function hasPermission(store, permission) {
  return store.state.permissions.includes(permission);
}